#include "RoundOp.h"
#include "../../detiq-t/GenericInterface/Widgets/ImageWidgets/DoubleImageWindow.h"
#include <QApplication>

RoundOp::RoundOp(): GenericOperation(qApp->translate("Operations", "Round value of image").toStdString()) {

}

void RoundOp::operator()(const genericinterface::ImageWindow* currentWnd, const std::vector<const genericinterface::ImageWindow*>&){

}
bool RoundOp::needCurrentImg() const{
    return true;
}
bool RoundOp::isValidImgWnd(const genericinterface::ImageWindow* imgWnd) const{
    return imgWnd->isDouble();
}
